export default {
  path: "/supplier",
  redirect: "/supplier/list",
  meta: {
    icon: "ri:user-5-fill",
    // showLink: false,
    title: "供应商管理",
    rank: 6
  },
  children: [
    {
      path: "/supplier/list",
      name: "supplierList",
      component: () => import("@/views/supplier/index.vue"),
      meta: {
        title: "供应商列表",
        roles: ["admin"]
      }
    },
    {
      path: "/supplier/add",
      name: "supplierAdd",
      component: () => import("@/views/supplier/AddSupplier.vue"),
      meta: {
        title: "基础信息",
        showLink: false,
        roles: ["admin"]
      }
    },
    {
      path: "/supplier/update",
      name: "supplierUpdate",
      component: () => import("@/views/supplier/UpdateSupplier.vue"),
      meta: {
        title: "500",
        roles: ["admin"]
      }
    }
  ]
} satisfies RouteConfigsTable;
